package com.ruoyi.comprehensive.mapper;

import java.util.List;

import com.ruoyi.comprehensive.domain.ReceiveVisits;

/**
 * 接访信息Mapper接口
 *
 * @author ruoyi
 * @date 2021-09-01
 */
public interface ReceiveVisitsMapper {
    /**
     * 查询接访信息
     *
     * @param id
     *         接访信息主键
     *
     * @return 接访信息
     */
    public ReceiveVisits selectReceiveVisitsById(Long id);

    /**
     * 查询接访信息列表
     *
     * @param receiveVisits
     *         接访信息
     *
     * @return 接访信息集合
     */
    public List<ReceiveVisits> selectReceiveVisitsList(ReceiveVisits receiveVisits);

    /**
     * 新增接访信息
     *
     * @param receiveVisits
     *         接访信息
     *
     * @return 结果
     */
    public int insertReceiveVisits(ReceiveVisits receiveVisits);

    /**
     * 修改接访信息
     *
     * @param receiveVisits
     *         接访信息
     *
     * @return 结果
     */
    public int updateReceiveVisits(ReceiveVisits receiveVisits);

    /**
     * 删除接访信息
     *
     * @param id
     *         接访信息主键
     *
     * @return 结果
     */
    public int deleteReceiveVisitsById(Long id);

    /**
     * 批量删除接访信息
     *
     * @param ids
     *         需要删除的数据主键集合
     *
     * @return 结果
     */
    public int deleteReceiveVisitsByIds(Long[] ids);
}
